var constants = {
	KEY_QQ_MAP: "G6BBZ-JBIHF-GMCJM-N3YGK-LPCVS-FTFOD",
	KEY_QQ_SK: "h0Pe0L3f3byLod4uhpbXDxXouk19tmf"
}; //接口

var interfaces = {
	//OSS上传
	URL_COMMON_PUBLIC_KEY: '/mall-admin/admin/getPublicKey',
	URL_SYS_SENDSMS_DUPLE: '/levc-sys/admin/getCodeCheckPhone', //带查重的获取验证码
	URL_SYS_WXLOGIN: '/levc-sys/admin/wxlogin', //app微信注册。


	URL_GET_SDK: '/levc-cardeploy/levcSdkPackages/getPackageSDKForVin',
	//获取验证码
	URL_SYS_SENDSMS: '/levc-sys/admin/getCode',
	//手机号验证码登录
	URL_SYS_LOGIN: '/levc-sys/admin/login',
	//app用户申请注销账号
	URL_SYS_LOGOUT: '/levc-sys/admin/logout',

	//根据id、openid、phone获取用户信息 需要token
	URL_SYS_LOAD_USERINFO: '/levc-sys/admin/getUserDetails',
	//openid获取用户信息 不需要token , unionID需要加密
	URL_SYS_LOAD_OPENID: '/levc-sys/admin/getUserByOpenid',
	//手机号一键登录
	URL_SYS_ALI_MOBILE_LOGIN: '/levc-sys/admin/getUserByPhone',


	//粉丝列表
	URI_FOLLOWER_LIST: '/levc-activity/api/communityfans/getFansPage',
	//关注列表
	URI_FOLLOWING_LIST: '/levc-activity/api/communityfans/getFocusPage',
	// 关注
	URI_COMMUNITY_FOCUS: "/levc-activity/api/communityfans/focusCommunity",

	// 本地资源-关注
	URI_LOCAL_FOCUS: "/levc-activity/api/local/resources/focusCommunity",



	// 取消关注
	URI_COMMUNITY_FOCUS_CANCEL: "/levc-activity/api/communityfans/unfocusCommunity",

	// 本地资源-取消关注
	URI_LOCAL_FOCUS_CANCEL: "/levc-activity/api/local/resources/unfocusCommunity",


	//提交试乘试驾
	URL_TESTDRIVER_CREATE: "/levc-activity/api/testDrive/create",
	//根据城市查询门店
	// URL_GETSTORELISTBYCITY: "/levc-sys/levcStoresManagement/getStoresListByCityCode",
	URL_GETSTORELISTBYCITY: "/levc-sys/levcStoresManagement/getStoresListByCity",



	//分期用的根据城市查门店

	URL_GETSTAGESSTORELIST: "/levc-sys/levcStoresManagement/getStagesStoreList",




	//试驾认证码
	URL_TESTDRIVER_CODE: "/levc-activity/api/testDrive/getCode",
	//社区动态
	//社区动态列表
	URL_COMMUNITY_LIST: '/levc-activity/api/communitylifan/getFrontCommunityPage',

	//(后台)获取本地资源列表-分页查询
	URL_LOCAL_RESOURCES_LIST: '/levc-activity/api/local/resources/getLocalResourcesPage',
	//(前端)本地资源详情
	URL_LOCAL_RESOURCES_DETAIL: '/levc-activity/api/local/resources/getLocalResources',

	//社区点赞
	URL_LOCAL_RESOURCES_THUMB: '/levc-activity/api/local/resources/thumbsResources',

	// // 用户标签列表
	// URL_LABEL_LIST: '/levc-sys/api/levcLabelController/getLabelToUser',
	//社区点赞
	URL_COMMUNTIY_THUMB: '/levc-activity/api/communitylifan/thumbsCommunity',




	//获取使用说明
	URL_GET_MATERIALBYVIN: '/levc-content/api/fileCenter/getMaterialByVin',










	//社区详情
	URL_COMMUNTIY_DETAIL: '/levc-activity/api/communitylifan/getFrontCommunity',



	// 创建话题
	URL_TOPIC_ADD: '/levc-activity/api/topic/createCommunityTopic',
	//话题列表
	URL_TOPIC_LIST: '/levc-activity/api/topic/getFrontCommunityTopicPage',
	//话题详情
	URL_TOPIC_DETAIL: '/levc-activity/api/topic/getCommunityTopicByID',
	//帖子评论列表
	URL_COMMENT_LIST: '/levc-activity/api/comment/getCommunityCommentPage',


	//最热评论
	URL_COMMENT_HOT: '/levc-activity/api/comment/getHotCommentByCommunityId',
	// 二级评论列表
	URL_COMMENT_SECOND: '/levc-activity/api/comment/getCommunitySecondCommentPage',
	//(前台)社区评论-创建
	ULR_COMMUNTITY_COMMENT: '/levc-activity/api/comment/createCommunityComment',
	// (前台)社区动态-发布
	URLULR_COMMUNTITY_CREATE: '/levc-activity/api/communitylifan/createCommunity',
	URLULR_ARTICLE_CREATE: '/levc-activity/api/communitylifan/createArticle',
	//获取状态
	URL_GET_JIASU_STATUS: '/levc-cardeploy/api/levcUsersCar/getJiasuStatus',
	//首页管理-首页查询
	URL_HOME_GET_HOME_LIST: '/levc-content/api/banner/home/getHomeList',


	//试乘试驾
	//修改用户信息
	URL_ADMIN_UPDATEUSERINFO: "/levc-sys/admin/updateUserInfo",
	//oss文件上传
	URL_ALIYUN_OSS_UPLOAD: "/levc-sys/api/ctyun/oss/upload",

	// 获取整车订单列表
	URL_CAR_ORDER: '/levc-product/api/levcCarOrder/getLevcCarOrderList',
	//注销
	// URL_ADMIN_USERCANCELLATION: "/levc-sys/admin/userCancellation",
	// 整车订单
	// URL_CARDORDER_LIST: '/levc-product/api/levcCarOrder/getLevcCarOrderFrontPage',
	// URL_CARDORDER_CANCEL: '/levc-product/api/levcCarOrder/cancelFrontOrder',
	// URL_PROVINCE_LIST: '/levc-product/api/levcBank/getBankProvinceList',
	URL_CITY_LIST: '/levc-product/api/levcBank/getUsersAddressDetails',
	// URL_CITYBANK_LIST: '/levc-product/api/levcBank/getBankByCity',
	URL_CREATE_CARORDER: '/levc-product/api/levcCarOrder/createLevcCarOrder',
	// URL_CARORDER_LIST: '/levc-product/api/levcCarOrder/getLevcCarOrder',
	// URL_ISEXCPET: '/levc-product/api/levcCarOrder/getIsExcpet',
	// URL_CANCEL_ORDER: '/levc-product/api/levcCarOrder/cancelOrder',
	// URL_BRANCHBANK_LIST: '/levc-product/api/levcBank/getBankBranchByBank',
	// URL_CANCEL_REFUND: '/levc-product/api/levcCarOrder/cancelRefund',
	// URL_USERCAR: '/levc-cardeploy/api/levcUsersCar/getLevcUsersCar',
	// 支付接口 - 整车
	URL_PAYMENT: '/levc-product/api/levcPayment/jsapipayment',
	URL_PAYMENT_ALL: '/levc-product/api/levcPayment/apppayment',
	// 支付接口 - 商城
	URL_PAYMENT_MALL_ALL: '/levc-product/api/levcPayment/apppaymentByMall',
	URL_PAYMENT_MALL: '/levc-product/api/levcPayment/jsapipaymentByMall',

	// 获取最新版本
	URL_GETW_NEW_VERSION: '/levc-sys/versionPublish/getNewVersionInfo',

	//修改cid
	URL_SYS_GET_UPDATE_CID: '/levc-sys/admin/getUpdateCid',
	//(前台)查询未读多少个
	URL_SYS_SENDMSG_GETLEVCMSGLISTCOUNT: "/levc-sys/sendMessage/getLevcMessageListCount",
	//(前台)查询相关类别的第一条内容
	URL_SYS_SENDMSG_GETLEVCMSG_TYPE_ONE: "/levc-sys/sendMessage/getLevcMessagetypeOne",
	//(前台)查询相关类别的所有内容
	URL_SYS_SENDMSG_GETLEVCMSG_TYPE: "/levc-sys/sendMessage/getLevcMessagetype",
	//(前台)更新成已读
	URL_SYS_SENDMSG_UPDATE_LEVCMSGUSERREADY: "/levc-sys/sendMessage/updateLevcMessageUserReady",
	//(前台)查看详情
	URL_SYS_SENDMSG_GETLEVCMSGBYIDFRONT: "/levc-sys/sendMessage/getLevcMessageByIdFront",

	// 个人主页
	URL_DEL_PERSONAL_COMMUNITY: '/levc-activity/api/communitylifan/updateStatus',
	// 力帆-个人主页
	URL_GET_PERSONAL_COMMUNITY: '/levc-activity/api/infoAsk/getMyPublishList',
	// 力帆-个人主页统计数据
	URL_GET_PERSONAL_COMMUNITY_DATA: '/levc-activity/api/communitylifan/getFrontPersonalData',


	//微信小程序-获根据code获取 unionid和openid
	URL_WECHAT_GETUNIONID: '/levc-sys/wechat/getUnionid',

	//微信小程序-获取用户信息
	URL_WECHAT_GETUSERINFO: '/levc-sys/wechat/getUserInfo',
	//微信小程序-手机APP默认微信登录
	URL_WECHAT_GETAPPLOGINBYAUTO: '/levc-sys/wechat/getAppLoginByAuto',
	//查询所有城市
	URL_PRODUCT_GET_ALLCITYLIST: '/levc-product/api/levcUsersAddress/getUsersAddressList',
	//微信小程序-微信登录注册页
	URL_WECHAT_LOGINWX: '/levc-sys/admin/loginwx',
	//城市-英文首字母排列
	URL_AREA_GETCITYJSON: '/levc-sys/area/getCityJson',
	//城市辖区
	URL_AREA_GETADDRESSJSON: '/levc-sys/area/getAddressJson',
	//试乘试驾
	URL_TESTDRIVER_LIST: "/levc-activity/api/testDrive/list",
	//获取试乘试驾信息
	URL_TESTDRIVER_GETTESTDRIVE: "/levc-activity/api/testDrive/getTestDrive",
	//取消试驾
	URL_TESTDRIVER_CANCELTESTDRIVER: "/levc-activity/api/testDrive/cancelTestDrive",

	//查询用户地址列表
	URL_ADDRESS_GET_USER_ADDRESS_LIST: "/levc-product/api/levcUsersAddress/getUsersAddressList",
	//新建地址
	URL_ADDRESS_CREATE_USERS_ADDRESS: "/levc-product/api/levcUsersAddress/createUsersAddress",
	//用户地址详细
	URL_ADDRESS_GET_USERS_ADDRESS_DETAILS: "/levc-product/api/levcUsersAddress/getUsersAddressDetails",
	//删除用户地址
	URL_ADDRESS_DELETE_USERS_ADDRESS: "/levc-product/api/levcUsersAddress/deleteUsersAddress",
	//编辑用户地址
	URL_ADDRESS_UPDATE_USERS_ADDRESS: "/levc-product/api/levcUsersAddress/updateUsersAddress",
	//评价
	URL_ACTIVITY_EVALUATE_TESTDRIVE: "/levc-activity/api/testDrive/evaluateTestDrive",

	//字典
	URL_DICTIONARY_GETDICTIONARYLIST: "/levc-sys/dictionaryDetail/getDictionaryDetailedList",
	// 车型
	URL_CAR_MODEL_LIST_FORAPP: "/levc-cardeploy/api/levcCarModel/getLevcCarModelListForApp",

	//车辆预定-获取车系列表
	URL_CAR_SERIES_LIST: "/levc-cardeploy/api/levcCarSeries/getLevcCarSeriesList",
	//车辆预定-获取车型列表
	URL_CAR_MODEL_LIST: "/levc-cardeploy/api/levcCarModel/getLevcCarModelList",

	//车辆预定-获取配置列表
	URL_CAR_CONFIG_LIST: "/levc-cardeploy/levcCarConfiguration/getCarConfigList",

	//车辆预定-获取其他信息列表：颜色、选装包、个性化
	URL_CAR_OTHER_INFO_LIST: "/levc-cardeploy/levcCarConfiguration/getCarConfigureInfos",

	//车辆预定-最低价
	URL_CAR_MIN_MONEY: "/levc-cardeploy/api/levcCarModel/getMinMoneyByCarConfigure",

	//订单确认-创建心愿单
	URL_CAR_WISH_CREATE: "/levc-product/api/levcCarOrderConfigure/create",
	//订单确认-获取心愿单详细
	URL_CAR_WISH_GET: "/levc-product/api/levcCarOrderConfigure/getDetail",

	//订单确认-删除心愿单
	URL_CAR_WISH_DELETE: "/levc-product/api/levcCarOrderConfigure/delete",

	//订单确认-更新心愿单
	URL_CAR_WISH_UPDATE: "/levc-product/api/levcCarOrderConfigure/update",

	// 获取心愿单分页
	URL_CAR_ORDER_CONFIGURE_PAGE: "/levc-product/api/levcCarOrderConfigure/getCarOrderConfigurePage",

	// 获取心愿单分页
	URL_CAR_ORDER_CONFIGURE_DELETE: "/levc-product/api/levcCarOrderConfigure/delete",

	//创建订单
	URL_CREATE_CARORDER: '/levc-product/api/levcCarOrderlifan/createLevcCarOrder',
	//获取意向金接口
	URL_GET_AMOUNT: '/levc-product/api/levcCarOrderlifan/getLevcCarOrderDepositAmount',

	//查询所有省份
	URL_GET_PROVINCE: '/levc-sys/api/data/ProvinceCity/getAllProvinceList',

	//通过省份查询城市
	URL_GET_CITY_BY_PROVINCE: '/levc-sys/api/data/ProvinceCity/getCityListByProvince',

	// 获取整车订单List分页（前台）
	URL_GET_CARORDER_PAGE: '/levc-product/api/levcCarOrderlifan/getLevcCarOrderFrontPage',

	// 获取整车订单
	URL_GET_CARORDER_ORDER: '/levc-product/api/levcCarOrderlifan/getLevcCarOrder',

	// 修改整车订单
	URL_LIFAN_UPDATE_ORDER: '/levc-product/api/levcCarOrderlifan/updateLevcCarOrder',

	// 订单申请退款 （已支付）
	URL_LIFAN_REFUND_ORDER: '/levc-product/api/levcCarOrderCancel/applyForOrderRefund',

	// 查询退款详情
	URL_LIFAN_REFUND_DETAIL: '/levc-product/api/levcCarOrderCancel/getOrderRefundDetail',

	// 取消订单
	URL_LIFAN_CANCEL_ORDER: '/levc-product/api/levcCarOrderlifan/cancelFrontOrder',

	// 评价类目列表
	URL_GET_CATEGORY_LIST: '/levc-product/api/evaluateCategory/getCategoryList',

	// 试驾-新建评价
	URL_TESTDRIVE_INSERTEVALUTE: '/levc-activity/api/testDrive/insertEvaluate',

	// 整车订单-新建评价
	URL_CATEGORY_INSERTEVALUTE: '/levc-product/api/evaluateCategory/insertEvaluate',

	// 试驾-查询评价详情
	URL_TESTDRIVE_GETEVALUATEINFO: '/levc-activity/api/testDrive/getEvaluateInfo',

	// 整车订单-查询评价详情
	URL_CATEGORY_GETEVALUATEINFO: '/levc-product/api/evaluateCategory/getEvaluateInfo',

	//根据城市获取城市代码和省代码
	URL_GET_PROVINCE_CITY_INFO_BY_CITYNAME: '/levc-sys/api/data/ProvinceCity/getProvinceCityInfoByCityName',

	// 获取评论数量
	URL_GET_COMMENTCOUNT: "/levc-activity/api/comment/getCommentCount",

	// 查询门店列表(APP)
	URL_GET_STORESLISTFORAPP: "/levc-sys/levcStoresManagement/getStoresListForApp",

	// 商城
	//商品详情
	URL_MALL_GOODS_LIST: 'http://api.demo.runlin.cn/mock/11/goodsDetail',
	//评论详情
	URL_MALL_GOODS_COMMON_LIST: 'http://api.demo.runlin.cn/mock/11/goodsCommentList',
	//加入购物车
	URL_MALL_GOODS_ADD_CART: 'http://api.demo.runlin.cn/mock/11/addCart',
	//购物车数量
	URL_MALL_GOODS_GET_CART_COUNT: 'http://api.demo.runlin.cn/mock/11/getCartCount',
	//获取购物车
	URL_MALL_GOODS_GET_CART: 'http://api.demo.runlin.cn/mock/11/getCarts',
	// 屏蔽用户
	URL_BLACK_ADD: '/levc-sys/blackuser/add',
	// 举报
	URL_BLACK_REPORT: '/levc-activity/api/communityreport/create',
	//APP 用车协议
	URL_APP_AGREEMENT: '/app/agreement.html',

	//APP用户隐私协议
	URL_APP_PRIVACY: '/app/privacy.html',


	//查询今日里程/总里程
	URL_CMOBILE_VEHICLEINFO_QUERYMILEINFO: '/levc-cmobile/api/vehicleInfo/queryMileInfo',
	//查询剩余油量/电量、蓄电池电压
	URL_CMOBILE_VEHICLEINFO_QUERYVEHICLESTATUS: '/levc-cmobile/api/vehicleInfo/queryVehicleStatus',
	//查询日/周个人里程排名
	URL_CMOBILE_VEHICLEINFO_QUERYMILERANKING: '/levc-cmobile/api/vehicleInfo/queryMileRanking',
	//查询最近位置信息
	URL_CMOBILE_VEHICLEINFO_QUERYVEHICLELOCATIONINFO: '/levc-cmobile/api/vehicleInfo/queryVehicleLocationInfo',
	//查询轨迹分段最后一段
	URL_CMOBILE_VEHICLEINFO_QUERYLASTTRACKSEGMENT: '/levc-cmobile/api/vehicleInfo/queryLastTrackSegment',
	//查询某月有产生轨迹的日期
	URL_CMOBILE_VEHICLEINFO_QUERYTRACKCALENDAR: '/levc-cmobile/api/vehicleInfo/queryTrackCalendar',
	//查询某天所有轨迹分段
	URL_CMOBILE_VEHICLEINFO_QUERYTRACKSEGMENTLIST: '/levc-cmobile/api/vehicleInfo/queryTrackSegmentList',
	//查询某段轨迹详情
	URL_CMOBILE_VEHICLEINFO_QUERYTRACKSEGMENTDETAIL: '/levc-cmobile/api/vehicleInfo/queryTrackSegmentDetail',
	//查询车辆车主信息
	URL_CMOBILE_VEHICLEINFO_QUERYVEHICLEINFO: '/levc-cmobile/api/vehicleInfo/queryVehicleInfo',
	//查询我的爱车
	URL_CMOBILE_VEHICLEINFO_GETMYCARLIST: '/levc-cmobile/api/vehicleInfo/getMyCarList',
	//设为当前用车
	URL_CMOBILE_VEHICLEINFO_SETDEFAULTCAR: '/levc-cmobile/api/vehicleInfo/setDefaultCar',
	//新增车辆车主信息到本地
	URL_CMOBILE_VEHICLEINFO_ADDVEHICLEINFOTOLOCAL: '/levc-cmobile/api/vehicleInfo/addVehicleInfoToLocal',
	//新增车辆车主信息
	URL_CMOBILE_VEHICLEINFO_ADDVEHICLEINFO: '/levc-cmobile/api/vehicleInfo/addVehicleInfo',
	//修改车辆车主信息
	URL_CMOBILE_VEHICLEINFO_UPDATEVEHICLEINFO: '/levc-cmobile/api/vehicleInfo/updateVehicleInfo',
	//终端绑定（售后更换场景）
	URL_CMOBILE_VEHICLEINFO_BINDDEVICE: '/levc-cmobile/api/vehicleInfo/bindDevice',
	//终端解绑（售后更换场景）
	URL_CMOBILE_VEHICLEINFO_UNBINDDEVICE: '/levc-cmobile/api/vehicleInfo/unBindDevice',
	//删除用车
	URL_CMOBILE_VEHICLEINFO_DELETECAR: '/levc-cmobile/api/vehicleInfo/deleteCar',
	//查询物联卡流量到期时间
	URL_CMOBILE_VEHICLEINFO_QUERYIOTSIMINFO: '/levc-cmobile/api/vehicleInfo/queryIotSimInfo',

	//门店查询
	URL_GET_STORESEARCH: '/levc-sys/levcStoresManagement/getStoresList',
	//门店详情
	URL_GET_STOREDEATAIL: '/levc-sys/levcStoresManagement/getInfoById',

	//根据用户查询消息设置
	URL_GET_USSERSETTINGMESSAGELIST: '/levc-sys/api/userSettingMessage/getUserSettingMessageList',
	//删除关闭消息
	URL_GET_DELETEUSERSETTING: '/levc-sys/api/userSettingMessage/deleteUserSettingMessage',
	//增加关闭消息
	URL_GET_INSERTUSERSETTING: '/levc-sys/api/userSettingMessage/insertUserSettingMessage',
	//查询日/周总里程排名
	URL_CMOBILE_VEHICLEINFO_AllMILERANKING: '/levc-cmobile/api/vehicleInfo/queryAllMileRanking',

	//查询个人日/周总里程排名
	URL_CMOBILE_VEHICLEINFO_MILERANKING: '/levc-cmobile/api/vehicleInfo/queryMileRanking',
	//查询总里程统计
	URL_CMOBILE_VEHICLEINFO_QUERYMILESTATISTICS: '/levc-cmobile/api/vehicleInfo/queryMileStatistics',
	//查询总里程
	URL_CMOBILE_VEHICLEINFO_QUERYMILEINFO: '/levc-cmobile/api/vehicleInfo/queryMileInfo',

	//车况数据
	URL_CMOBILE_VEHICLEINFO_VEHICLECONDITION: '/levc-cmobile/api/vehicleInfo/queryVehicleConditionList',
	//车辆体检
	URL_CMOBILE_VEHICLEINFO_GETCHECKFAULTSTATUS: '/levc-cmobile/api/levcCmobileMsgPush/getCheckFaultStatus',
	//查询答案列表
	URL_ACTIVITY_GETANSWERLIST: '/levc-activity/api/infoAsk/getAnswerList',
	//查询问题列表
	URL_ACTIVITY_GETASKLIST: '/levc-activity/api/infoAsk/getAskListByLogin',
	//查询问题详情
	URL_ACTIVITY_GETASKINFO: '/levc-activity/api/infoAsk/getAskInfo',

	//查询答案列表
	URL_ACTIVITY_GETANSWERLIST: '/levc-activity/api/infoAsk/getAnswerList',
	//创建回答
	URL_ACTIVITY_ADDANSWER: '/levc-activity/api/infoAsk/addAnswer',

	//回答点赞更新
	URL_ACTIVITY_UPDANSWERTHUMBS: '/levc-activity/api/infoAsk/updateAnswerthumbs',
	//问题点赞更新
	URL_ACTIVITY_UPDATEASKTHUMBS: '/levc-activity/api/infoAsk/updateAskthumbs',
	URL_ACTIVITY_ADDQUESTION: '/levc-activity/api/infoAsk/addQuestion',

	//告警类型查询
	URL_ALARM_GETALARMTYPELIST: '/levc-cmobile/api/levcCmobileMsgPush/getAlarmTypeList',
	//告警详情list查询
	URL_ALARM_GETALARMINFOLIST: '/levc-cmobile/api/levcCmobileMsgPush/getAlarmInfoList',
	//一键清除
	URL_ALARM_DELETEALL: '/levc-cmobile/api/levcCmobileMsgPush/delAllAlarmInfo',
	//一键已读
	URL_ALARM_READALL: '/levc-cmobile/api/levcCmobileMsgPush/readAllAlarmInfo',
	//搜索
	URL_SEARCH_CATEGORY: '/mall-search/esCommunity/search/category',
	//热门搜索
	URL_USERSEARCH_LIST: '/levc-activity/api/userSearch/getSearchListByApp',
	// 搜索全部
	URL_USERSEARCH_ALLLIST: '/mall-search/esCommunity/search/list',
	// 问答更新
	URL_ASK_UPDATE: '/levc-activity/api/infoAsk/updateQuestion',

	// 登录统计
	URL_SYS_LOGINSTATISTICS: '/levc-sys/appLogin/loginStatistics',

	// 保存维修保养
	URL_PRODUCT_AFTERSALES_CREATE: '/levc-product/api/afterSales/create',
	// 我的保养订单/维修订单列表
	URL_PRODUCT_AFTERSALES_GETLISTAPP: '/levc-product/api/afterSales/getListAPP',
	// 查询维修保养订单详情
	URL_PRODUCT_AFTERSALES_GETDETAILINFO: '/levc-product/api/afterSales/getDetailInfo',
	// 取消维修保养
	URL_PRODUCT_AFTERSALES_CANCELAFTERSALES: '/levc-product/api/afterSales/cancelAfterSales',
	// 查询维修保养配件列表
	URL_PRODUCT_AFTERSALES_GETPARTLIST: '/levc-product/api/afterSales/getPartList',
	// 维修保养-新建评价
	URL_PRODUCT_AFTERSALES_INSERTEVALUATE: '/levc-product/api/afterSales/insertEvaluate',
	// 维修保养-查询评价详情
	URL_PRODUCT_AFTERSALES_GETEVALUATE: '/levc-product/api/afterSales/getEvaluateInfo',
	// 维修保养客户确认
	URL_PRODUCT_AFTERSALES_CUSTOMERCONFIRM: '/levc-product/api/afterSales/customerConfirm',


	// 用户查询我的卡券 分页
	URL_ACTIVITY_CARD_GETMYUSERCOUPONPAGELIST: '/levc-activity/cardCoupon/getMyUserCouponPageList',
	// 用户查询卡券详情
	URL_ACTIVITY_CARD_GETMYUSERCOUPONPDETAILS: '/levc-activity/cardCoupon/getUserCouponDetails',
	// 获取北京时间
	URL_SYS_API_GETBEIJINGTIME: '/levc-sys/api/http/getBeiJingTimeStr',
	// 查询用户积分账户
	URL_ACTIVITY_USERSCORE_GETUSERSCOREACCOUNT: '/levc-activity/userScore/getUserScoreAccount',
	// 查询用户积分流水
	URL_ACTIVITY_USERSCORE_GETUSERSCORECHANGEPAGELIST: '/levc-activity/userScore/getUserScoreChangePageList',



	//根据用户ID统计未读消息数 /levc-sys/sendMessage/countUnReadByUid
	URL_SYS_COUNTUNREAD: '/levc-sys/sendMessage/countUnReadByUid',


	// 查询分类全列表 (C端)
	URL_ACTIVITY_PRODUCTCATEGORY_GETPRODUCTCATEGORYALLLIST: '/levc-activity/productCategory/getProductCategoryAllList',
	//查询商城商品列表（APP）
	URL_ACTIVITY_PFMALLPRODUCTS_GETLISTAPP: '/levc-activity/api/pfMallProducts/getListAPP',
	//查询商城商品详情（APP）
	URL_ACTIVITY_PFMALLPRODUCTS_GETGOODSINFOAPP: '/levc-activity/api/pfMallProducts/getGoodsInfoAPP',
	//查询商城商品详情-规格属性（APP）
	URL_ACTIVITY_PFMALLPRODUCTS_GETGOODSITEMINFOAPP: '/levc-activity/api/pfMallProducts/getGoodsItemInfoAPP',
	//根据规格选择-查询商品详情
	URL_ACTIVITY_PFMALLPRODUCTS_GETGOODSITEMINFOBYGUIGEAPP: '/levc-activity/api/pfMallProducts/getGoodsItemInfoByGuigeAPP',
	//查询商城新品推荐列表（APP）
	URL_ACTIVITY_PFMALLPRODUCTS_GETNEWLISTAPP: '/levc-activity/api/pfMallProducts/getNewListAPP',
	//查询商城为你推荐列表（APP）
	URL_ACTIVITY_PFMALLPRODUCTS_GETTUIJIANLISTAPP: '/levc-activity/api/pfMallProducts/getTuijijanListAPP',
	//查询商品是否上架中
	URL_ACTIVITY_PFMALLPRODUCTS_ISPRODUCTDOING: '/levc-activity/api/pfMallProducts/isProductDoing',

	//查询秒杀商品列表（APP）
	URL_ACTIVITY_PFMALLSECKILL_GETSECKILLLISTAPP: '/levc-activity/api/pfMallSeckill/getSeckillListAPP',
	//查询秒杀商品详情（APP）
	URL_ACTIVITY_PFMALLSECKILL_GETSECKILLINFOAPP: '/levc-activity/api/pfMallSeckill/getSeckillInfoAPP',
	//查询秒杀商品详情-规格属性（APP）
	URL_ACTIVITY_PFMALLSECKILL_GETSECKILLITEMINFOAPP: '/levc-activity/api/pfMallSeckill/getSeckillItemInfoAPP',
	//根据规格选择-查询秒杀商品详情
	URL_ACTIVITY_PFMALLSECKILL_GETSECKILLITEMINFOBYGUIGEAPP: '/levc-activity/api/pfMallSeckill/getSeckillItemInfoByGuigeAPP',
	//查询秒杀是否进行中
	URL_ACTIVITY_PFMALLSECKILL_ISSECKILLDOING: '/levc-activity/api/pfMallSeckill/isSeckillDoing',
	//新建商品评价(APP)
	URL_ACTIVITY_PRODUCTCOMMENT_ADDPRODUCTCOMMENT: '/levc-activity/productComment/addProductComment',
	//根据商品ID,查询商品订单评价数目(APP)
	URL_ACTIVITY_PRODUCTCOMMENT_GETPRODUCTCOMMENTCOUNTBYPRUDUCTBYID: '/levc-activity/productComment/getProductCommentCountByProductId',
	//根据商品ID,查询商品订单评价列表 (分页)(APP)
	URL_ACTIVITY_PRODUCTCOMMENT_GETPRODUCTPAGELISTBYPRUDUCTBYID: '/levc-activity/productComment/getProductPageListByProductId',


	//添加购物车
	URL_ACTIVITY_PRODUCTCARS_ADDPRODUCTSCARS: '/levc-activity/productCars/addProductsCars',
	//查询购物车列表(分页)
	URL_ACTIVITY_PRODUCTCARS_GETPRODUCTCARSPAGELIST: '/levc-activity/productCars/getProductCarsPageList',
	//修改购物车商品数量
	URL_ACTIVITY_PRODUCTCARS_UPDATEPRODUCTCARSNUM: '/levc-activity/productCars/updateProductCarsNum',
	//批量删除购物车商品
	URL_ACTIVITY_PRODUCTCARS_BATCHDELETEPRODUCTCARS: '/levc-activity/productCars/batchDeleteProductCars',

	//快递物流查询
	URL_SYS_LEVCEXPRESSINQUIRY_GETEXPRESSINQUIRY: '/levc-sys/levcExpressInquiry/getExpressInquiry',
	//整车订单/商城订单-创建发票
	URL_PRODUCT_ORDERFAPIAO_INSERTFAPIAO: '/levc-product/api/orderFapiao/insertFapiao',
	//商城结算-新建订单
	URL_PRODUCT_PFMALLORDER_ADDORDER: '/levc-activity/api/pfMallOrder/addOrder',
	//商城结算-更新订单
	URL_PRODUCT_PFMALLORDER_EDITORDER: '/levc-activity/api/pfMallOrder/editOrder',
	//查询商城订单列表(客户端)
	URL_PRODUCT_PFMALLORDER_GETPRODUCTORDERLISTFORAPP: '/levc-activity/api/pfMallOrder/getProductOrderPageListForApp',

	//根据订单编号查询商城订单详情
	URL_PRODUCT_PFMALLORDER_GETPRODUCTORDERDETAILSBYORDERNO: '/levc-activity/api/pfMallOrder/getProductOrderDetailsByOrderNoForApp',
	//验证订单逾期后-取消订单
	URL_PRODUCT_PFMALLORDER_CANCELORDERIFEXPIRE: '/levc-activity/api/pfMallOrder/cancelOrderIfExpire',
	//取消订单
	URL_PRODUCT_PFMALLORDER_CANCELORDER: '/levc-activity/api/pfMallOrder/cancelOrder',
	//维护快递单号
	URL_PRODUCT_PFMALLORDERCANCELAPPLY_MAINTAINEXPRESSNUM: '/levc-activity/pfMallOrderCancelApply/maintainExpressNumber',
	//确认收货
	URL_PRODUCT_PFMALLORDER_CONFIRMRECEIPT: '/levc-activity/api/pfMallOrder/confirmReceipt',
	//提交退款申请
	URL_PRODUCT_PFMALLORDERCANCELAPPLY_ORDERREFUUNDAPPLICATION: '/levc-activity/pfMallOrderCancelApply/orderRefundApplication',
	//App售后分页查询
	URL_PRODUCT_PFMALLORDERCANCELAPPLY_APPREFUNDQUERYBYPAGE: '/levc-activity/pfMallOrderCancelApply/appRefundqueryByPage',
	//App商品最新退款中查看详情
	URL_PRODUCT_PFMALLORDERCANCELAPPLY_APPREFUNDQUERYDETAIL: '/levc-activity/pfMallOrderCancelApply/appRefundqueryLastDetail',
	//取消退款申请
	URL_PRODUCT_PFMALLORDERCANCELAPPLY_ORDERCANCELAPPLICATION: '/levc-activity/pfMallOrderCancelApply/orderCancelApplication',

	//查询邀请试驾用户列表-用户app
	URL_TESTDRIVE_GETINVITE_USERS: '/levc-activity/api/testDrive/getInviteTestDriveUsers',

	//查询达人认证首页列表（APP）
	URL_USERMASTER_GETLISTAPP: '/levc-activity/api/userMaster/getListAPP',
	//查询本月剩余申请次数（APP）
	URL_USERMASTER_GETALLOWAPPLYCOUNT: '/levc-activity/api/userMaster/getAllowApplyCount',
	//查询申请记录列表（APP）
	URL_USERMASTER_GETAPPLYLOGLISTAPP: '/levc-activity/api/userMaster/getApplyLogListAPP',
	//查询申请记录详情（APP）
	URL_USERMASTER_GETAPPLYLOGINFOAPP: '/levc-activity/api/userMaster/getApplyLogInfoAPP',
	//立即申请
	URL_USERMASTER_BEGINAPPLY: '/levc-activity/api/userMaster/beginApply',
	//对外展示
	URL_USERMASTER_BEGINSHOW: '/levc-activity/api/userMaster/beginShow',
	//取消对外展示
	URL_USERMASTER_ENDSHOW: '/levc-activity/api/userMaster/endShow',
	// 查询用户当前 可用/不可用卡券信息 (商城订单 / 购车订单 )
	URL_ACTIVITY_CARD_GETMYAVAILABLECOUPON: '/levc-activity/cardCoupon/getMyAvailableCoupon',
	//用户签到首页展示-用户app
	URL_SYS_ADMIN_SHOWSIGN: '/levc-sys/admin/showSign',
	//签到-用户app
	URL_SYS_ADMIN_SIGNIN: '/levc-sys/admin/signIn',
	//查询签到记录-用户app
	URL_SYS_ADMIN_SELECTSIGNRECORD: '/levc-sys/admin/selectSignRecord',
	//查用户对外展示的达人认证
	URL_ACTIVITY_USERMASTER_GETUSERMASTERSHOW: '/levc-activity/api/userMaster/getUserMasterShow',
	//徽章列表-APP/管理后台
	URL_ACTIVITY_BADGEMGT_GETBADGELIST: '/levc-activity/badgeMgt/getBadgeList4App',
	//根据用户ID获取佩戴的徽章信息
	URL_ACTIVITY_BADGEMGT_GETBADGESTATUSBYUSERID: '/levc-activity/badgeMgt/getBadgeStatusByUserId',
	//尾款金钱计算带优惠券
	URL_PRODUCT_LEVCCARORDERLIFAN_GETAMOUNT: '/levc-product/api/levcCarOrderlifan/getAmount',
	//根据用户ID变更徽章佩戴状态
	URL_ACTIVITY_BADGEMGT_CHANGEBADGESTATUSBYUSERID: '/levc-activity/badgeMgt/changeBadgeStatusByUserId',
	//统计用户获得的徽章数量-APP(根据用户ID)
	URL_ACTIVITY_BADGEMGT_COUNTBADGESTATUSBYUSER4APP: '/levc-activity/badgeMgt/countBadgeByUser4APP',


	// 商城结算-使用优惠卷计算订单金额
	URL_ACTIVITY_CARD_GETORDERAMOUNTBYCOUPON: '/levc-activity/api/pfMallOrder/getOrderAmountbyCoupon',

	//积分协议
	URL_APP_INTERALRULE: '/app/integralRule.html',
	//发票协议
	URL_APP_IVNVOICEDESCRIPTION: '/app/InvoiceDescription.html',

	//签到说明
	URL_APP_SIGNRULT: '/app/sginRule.html',
	//达人说明
	URL_APP_MASTERRULT: '/app/masterRule.html',
	//徽章说明
	URL_APP_BADGERULT: '/app/badgeRule.html',

	//根据storeCode查City和Province
	URL_APP_GETCITYBYSTORE: '/levc-sys/levcStoresManagement/getCityByStore',

	//活动
	//活动列表
	URL_APP_GETPARTYINFOPAGE: '/levc-activity/api/pfInfoParty/getPartyInfoPage',
	//新建活动
	URL_APP_ADDACTIVITY: '/levc-activity/api/pfInfoParty/addPfInfoParty',
	//活动详情
	URL_APP_GETPARTYINFO: '/levc-activity/api/pfInfoParty/getPartyInfo',

	//最热评论
	URL_APP_GETHOTCOMMENTBYPARTYID: '/levc-activity/api/pfInfoParty/getHotCommentByPartyId',
	//活动评论列表
	URL_APP_GETPARTYOMMENTPAGE: '/levc-activity/api/pfInfoParty/getPartyCommentPage',
	//活动评论创建
	URL_APP_CREATEPARTYCOMMENT: '/levc-activity/api/pfInfoParty/createPartyComment',
	//二级评论
	URL_APP_GETPARTYSECONDCOMMENTPAGE: '/levc-activity/api/pfInfoParty/getPartySecondCommentPage',
	//点赞
	URL_APP_THUMBSPARTY: '/levc-activity/api/pfInfoParty/thumbsParty',
	//关注
	URL_APP_FOCUSCOMMUNITYPARTY: '/levc-activity/api/pfInfoParty/focusCommunity',
	//取消关注
	URL_APP_UNFOCUSCOMMUNITYPARTY: '/levc-activity/api/pfInfoParty/unfocusCommunity',

	//活动报名
	URL_APP_APPLICATIONPARTY: '/levc-activity/api/pfInfoParty/applicationParty',
	//报名列表
	URL_APP_GETSIGNSPAGE: '/levc-activity/api/pfInfoParty/getSignsPage',

	//报名审核已通过人数
	URL_APP_GETSIGNSCOUNT: '/levc-activity/api/pfInfoParty/getSignsCount',
	//审批列表
	URL_APP_GETAPPROVEPAGE: '/levc-activity/api/pfInfoParty/getApprovePage',
	//审批
	URL_APP_PARTYAPPROVE: '/levc-activity/api/pfInfoParty/partyApprove',

	//个人主页活动删除
	URL_APP_UPDATESTATUSPARTY: '/levc-activity/api/pfInfoParty/updateStatus',

	//活动订单列表
	URL_APP_GETPARTYSIGNPAGE: '/levc-activity/api/pfInfoParty/getPartySignPage',
	//订单详情
	URL_APP_GETPARTYSIGNINFO: '/levc-activity/api/pfInfoParty/getPartySignInfo',

	//活动查三级评论
	URL_APP_GETPARTYTHIRDCOMMENTPAGE: '/levc-activity/api/pfInfoParty/getPartyThirdCommentPage',
	//活动回复二级
	URL_APP_REPLYCOMMENT: '/levc-activity/api/pfInfoParty/replyComment',

	//社区 查三级评论
	URL_APP_GETTHIRDCOMMUNITYCOMMENTBACK: '/levc-activity/api/comment/getThirdCommunityCommentBack',
	//社区 回复2级 /api/comment/communityReplyComment	
	URL_APP_COMMUNITYREPLYCOMMENT: '/levc-activity/api/comment/communityReplyComment',

}; //全局变量

var data = {
	test: '123'
};

var HTML_ROOTs = {
	// dev: "http://192.168.215.18:8000",
	dev: "http://192.168.215.216:8080", //大硕地址
	// dev: "http://192.168.214.100:8085",//天祥地址
	test: "http://192.168.215.18:8080",
	uat: "http://211.158.18.216:8099",
	prd: "https://www.pfmoto.com"
}; // 官网地址


var ENV_API = {
	test: "https://pfmototest.runlindms.com",
	dev: "http://pfmoto.runlindms.com",
	uat: 'https://api.pfmoto.com:4433',
	// uat:'http://211.158.18.216:8090',
	prd: "https://dmp.pfmoto.com"
}; // 各环境接口根地址



var config = {
	env: 'prd',
	// env: 'uat',
	// 在这里切换当前环境
	data: data,
	//车联网sdk环境 true生产，false开发
	vehicleSDKEnv: true,
	constants: constants,
	interfaces: interfaces
};
config.BASE_URL = ENV_API[config.env];
config.HTML_ROOT = HTML_ROOTs[config.env];
module.exports = config;